package com.zhf.fm.constant;

/**
 * @author: 曾鸿发
 * @create: 2021-11-22 13:28
 * @description：
 **/
public enum EAlarmType {
    /**
     * 2020-12-11 确认gas气体报警舍弃,smoke由烟感报警改为气体报警
     */
    smoke("气体告警", "1"),
    elect("电表能耗超标", "2"),
    device("设备故障报警", "3"),
    env("环境超标", "4"),
    intrude("周界报警", "5"),
    other("其他报警", "6"),
    crowd_mass("客流聚集报警", "7"),
    balck_face("安防黑名单人脸报警", "8"),
    elevator("电梯报警", "9"),
    fire("消防报警", "10"),
    device_power("设备能耗超标", "11"),
    watermeter("耗水超标", "12"),
    parking_violation("违规停车", "13"),
    fire_passage_occupation("消防通道占用", "14"),
    absent_detect("离岗检测", "15"),
    light("智慧路灯", "16"),
    pump("水泵", "17"),
    fan("风机", "18");

    private String value;
    private String code;

    EAlarmType(String value, String code) {
        this.value = value;
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public String getCode() {
        return code;
    }
}
